<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% String user = (String)session.getAttribute("user") ; %>
<html>
<head><title>Logout</title>
<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
<link rel=stylesheet href='images/style.css' type=text/css>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=index.jsp">

</head>
<% if (user == null ) { %>
<center><div style="border:1px solid #cfcfcf;padding:20px 10px 20px 10px;background-color:#f3f3f3; width:410px "> <b>Bạn chưa Đăng Nhập ! </b></div></center>
<% } else { 
	session.removeAttribute("user") ; 
	session.invalidate();
%>
<body>
<center>
<div style="border:1px solid #cfcfcf;padding:20px 10px 20px 10px;background-color:#f3f3f3; width:410px ">
<b>Đăng Xuất Thành Công<br><img border=0 src="css/images/loading.gif" width="32" height="32"><Br></b>
</div>
</center></body>
<% } %>
</html>